{block name="circle_layout"}
	{include file="common:common_layout"}
{/block}
{extend name="common/layout" /}
{block name="style"}{/block}
{block name="content"}
<div class="base-layout">
  <div class="mainbox">
    <div class="base-tab-menu">
      <ul class="base-tabs-nav">
        <?php if(!empty($member_menu)){?>
        <?php foreach ($member_menu as $val){?>
        <li <?php if($val['menu_key'] == $menu_key){?>class="selected"<?php }?>><a href="<?php echo $val['menu_url'];?>"><?php echo $val['menu_name'];?></a></li>
        <?php }?>
        <?php }?>
      </ul>
    </div>
    <div class="my-theme-list">
      <?php if(!empty($recycle_list)){?>
      <ul class="group-theme-list">
        <?php foreach($recycle_list as $val){?>
        <li>
          <dl class="theme-info">
            <?php if($val['recycle_type'] == 1){?>
            <dt><span class="theme-title">你在 <a href="{:url('circle/group/index',array('c_id'=>$val['circle_id']))}">{$val['circle_name']}</a> 发表的话题：<a href="javascript:void(0);">“<?php echo $val['theme_name'];?>”</a></span></dt>
            <dd class="theme-content">
              <div class="theme-summary"><?php echo replaceUBBTag($val['recycle_content'], 0);?></div>
              <div class="theme-info">
                <time><?php echo date('Y-m-d H:i:s', $val['recycle_time']);?></time>
                &nbsp;<span class="group-name">被&nbsp;<a href="javascript:void(0)"><?php echo $val['recycle_opname'];?></a>&nbsp;删除</span></div>
            </dd>
            <?php }elseif ($val['recycle_type'] == 2){?>
            <dt><span class="theme-title">你在 <a href="{:url('circle/group/index',array('c_id'=>$val['circle_id']))}">{$val['circle_name']}</a> 发表的回复：<a href="javascript:void(0);">“<?php echo replaceUBBTag($val['recycle_content'], 0);?>”</a></span></dt>
            <dd class="theme-content">
              <div class="theme-summary"><?php echo replaceUBBTag($val['recycle_content'], 0);?></div>
              <div class="theme-info">
                <time><?php echo date('Y-m-d H:i:s', $val['recycle_time']);?></time>
                &nbsp;<span class="group-name">被&nbsp;<a href="javascript:void(0)"><?php echo $val['recycle_opname'];?></a>&nbsp;删除</span></div>
            </dd>
            <?php }?>
          </dl>
        </li>
        <?php }?>
      </ul>
      <div class="pagination bottom"><a href="javascript:void(0);" class="submit-btn" style=" float: right;" onclick="if(confirm('您确定要删除吗?')){ajaxget('<?php echo url('pcenter/clr_recycled').'?t=1';?>')}">清空回收站</a><?php echo $show_page;?></div>
      <?php }else{?>
      <div class="no-theme"><span><i></i>回收站中没有信息。</span></div>
      <?php }?>
    </div>
  </div>
  {include file="circle:circle:p_center_sidebar"}
  <div class="clear"></div>
</div>
{/block}